<%@ page contentType="text/html;charset=UTF-8"%>
<html>
	<head>
		<%
		    response.setHeader("Pragma", "No-cache");
		    response.setHeader("Cache-Control", "no-cache");
		    response.setDateHeader("Expires", 0);
		%>

		<title>后台管理系统</title>
		<link href="../css/login.css" rel="stylesheet" type="text/css">
		<style type="text/css">
<!--
td {
	font-size: 12px;
	color: #666666;
}
-->
</style>
	</head>
	<body bgcolor="999999" leftmargin="0" topmargin="0" marginwidth="0"
		marginheight="0" onLoad="document.loginform.loginName.focus();">
		<br>
		<br>
		<br>
		<br>
		<table width="753" height="400" border="0" align="center"
			cellpadding="0" cellspacing="0" class="l-bg">
			<tr>
				<td width="35">
					&nbsp;
				</td>
				<td width="476" align="left" valign="top">
					<br>
					<br>
					<br>
					请使用IE登录
					<br>
					<br>
					<form name="loginform" action="/admin/jsp/sysLogin.do?method=login" method="post"
						onsubmit="return login()">
						<table width="225" height="120" border="0" cellpadding="3"
							cellspacing="0" background="/admin/images/login_bg.gif">
							<tr>
								<td width="413" align="center" valign="top">
									<table width="100%" border="0" cellspacing="0" cellpadding="2">
										<tr>
											<td width="42%" align="center" valign="middle" class="lt">
												<table width="75" border="0" cellspacing="0" cellpadding="0">

													<tr>
														<td width="20">
															<input name="remember" type="checkbox" id="remeber2"
																value="1">
														</td>
														<td width="55" class="text">
															<label for="remeber2">
																记住帐号
															</label>
														</td>
													</tr>
												</table>
											</td>
											<td width="58%" align="right" valign="middle" class="lt">
												请登录


											</td>
										</tr>
										<tr>
											<td colspan="2">
												<table width="100%" border="0" cellpadding="3"
													cellspacing="0">
													<tr>
														<td width="21%" height="20" align="right" class="text">
															帐 号:
														</td>
														<td width="79%">
															<input name="loginName" type="text"
																class="red-text-input" id="loginName" tabindex="1"
																maxlength="15">
														</td>
													</tr>
													<tr>
														<td height="20" align="right" class="text">
															密 码:
														</td>
														<td>
															<input name="loginPwd" type="password"
																class="red-text-input" id="loginPwd" tabindex="2"
																maxlength="15">
														</td>
													</tr>
													<tr>
														<td align="right" class="text">
															验证码:
														</td>
														<td>
															<table width="100%" border="0" cellspacing="0"
																cellpadding="0">
																<tr>
																	<td width="35%">
																		<input name="checkCode" type="text"
																			class="red-text-input" id="checkCode" maxlength="4"
																			style="width: 50px;" tabindex="3">
																	</td>
																	<td width="65%">
																		<img src="../../framework/jsp/checkCode.jsp" width="55px" />
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<br>
						<table width="353" border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td width="85">
									<input name="Submit" type="submit" class="login-b" value=" ">
								</td>
								<td width="252">
									<span id="logining_info" style="letter-spacing: 2px;"></span>
								</td>
							</tr>
						</table>
					</form>
				</td>
				<td width="242" align="right" valign="top"
					style="padding-right: 20px; padding-top: 20px;">
					<img src="../images/logo.gif">
				</td>
			</tr>
		</table>
		<table width="753" height="20" border="0" align="center"
			cellpadding="2" cellspacing="0">
			<tr>
				<td width="1043" align="right" valign="middle" bgcolor="#2270D2">
					<font color="#FFFFFF" face="Arial, Helvetica, sans-serif">&copy;2006-2008
						xwtech - All Rights Reserved.</font>
				</td>
			</tr>
		</table>
		<script language="JavaScript" type="text/JavaScript">
	//登录验证
	function login()
	{
		theForm = document.loginform;
		if (theForm.loginName.value == "")
		{
			document.getElementById("logining_info").innerHTML = "帐号不能为空";
			document.getElementById("logining_info").className = "ErrorMsg";
			theForm.loginName.focus();
			return (false);
		}
		else if (theForm.loginPwd.value == "")
		{
			document.getElementById("logining_info").innerHTML = "密码不能为空";
			document.getElementById("logining_info").className = "ErrorMsg";
			theForm.loginPwd.focus();
			return (false);
		}
		else if (theForm.checkCode.value == "")
		{
			document.getElementById("logining_info").innerHTML = "验证码不能为空";
			document.getElementById("logining_info").className = "ErrorMsg";
			theForm.checkCode.focus();
			return (false);
		}

		document.getElementById("logining_info").innerHTML = "正在登录…";
		document.getElementById("logining_info").className = "WarningMsg";
		return (true);
	}

	if (top.location !== self.location)
	{
		top.location = self.location;
	}
</script>
	</body>

</html>